package com.yiren.manager.form.cost;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrMealsCostRecordForm extends GenericForm{
	
	private static final long serialVersionUID = -697756185778899757L;

	private String mealsCostRecordId;

	private String cardNumber;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String mealsId;

	private String mealsName;

	private String mealsType;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date payDate;

	private Float payMoney;

	private Integer payWay;

	private String remark;

	private String updateId;
	
 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;

	private String userCardId;

	private String userName;

	private String userRelationId;

	private String userRfidCardId;

	private Integer userType;
	
	private String mealCardId;
	
	private Float mealPrice;
	
	private Integer payResource;
	
	public Integer getPayResource() {
		return payResource;
	}

	public void setPayResource(Integer payResource) {
		this.payResource = payResource;
	}

	public Float getMealPrice() {
		return mealPrice;
	}

	public void setMealPrice(Float mealPrice) {
		this.mealPrice = mealPrice;
	}

	public String getMealCardId() {
		return mealCardId;
	}

	public void setMealCardId(String mealCardId) {
		this.mealCardId = mealCardId;
	}

	public String getMealsCostRecordId() {
		return mealsCostRecordId;
	}

	public void setMealsCostRecordId(String mealsCostRecordId) {
		this.mealsCostRecordId = mealsCostRecordId;
	}

	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getMealsId() {
		return mealsId;
	}

	public void setMealsId(String mealsId) {
		this.mealsId = mealsId;
	}

	public String getMealsName() {
		return mealsName;
	}

	public void setMealsName(String mealsName) {
		this.mealsName = mealsName;
	}

	public String getMealsType() {
		return mealsType;
	}

	public void setMealsType(String mealsType) {
		this.mealsType = mealsType;
	}

	public Date getPayDate() {
		return payDate;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public Float getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(Float payMoney) {
		this.payMoney = payMoney;
	}

	public Integer getPayWay() {
		return payWay;
	}

	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUserCardId() {
		return userCardId;
	}

	public void setUserCardId(String userCardId) {
		this.userCardId = userCardId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserRelationId() {
		return userRelationId;
	}

	public void setUserRelationId(String userRelationId) {
		this.userRelationId = userRelationId;
	}

	public String getUserRfidCardId() {
		return userRfidCardId;
	}

	public void setUserRfidCardId(String userRfidCardId) {
		this.userRfidCardId = userRfidCardId;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}
	
}
